package com.xcity.game.battle.pve.template;

import naga.x.game.template.Template;
import naga.x.game.template.TemplateException;
import naga.x.game.template.annotation.Binding;
import naga.x.game.template.annotation.Excel;

/**
 * 区
 * @author shipeng.zhu
 *
 */
@Excel(value = "stage.xlsx", sheetName = "区")
public class StageAreaTemplate extends Template {
	public static int MAX_ID = 1;

	/** 背景图 */
	protected String areaMap;
	
	protected String name;

	public String getAreaMap() {
		return areaMap;
	}

	public void setAreaMap(String areaMap) {
		this.areaMap = areaMap;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public void validate() throws TemplateException {
		if(MAX_ID < this.id){
			MAX_ID = this.id;
		}
	}
}
